// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once

#include "MahLazorsGameMode.generated.h"

UCLASS(minimalapi)
class AMahLazorsGameMode : public AGameMode
{
	GENERATED_UCLASS_BODY()

	/** always pick new random spawn */
	virtual bool ShouldSpawnAtStartSpot(AController* Player) OVERRIDE;

	/** select best spawn point for player */
	virtual AActor* ChoosePlayerStart(AController* Player) OVERRIDE;


	/** check if player can use spawnpoint */
	virtual bool IsSpawnpointAllowed(APlayerStart* SpawnPoint, AController* Player) const;

	/** check if player should use spawnpoint */
	virtual bool IsSpawnpointPreferred(APlayerStart* SpawnPoint, AController* Player) const;
};



